package com.longdaji.decoration.ui.activitiesOfMine.allOrder;

import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;
import com.longdaji.decoration.bean.Orders;

import java.util.List;

/**
 * Created by Kanade on 2018/4/19 0019.
 */

public interface AllOrderContract {
    interface IView extends BaseView {
        void showGetOrderSucceed(List<Orders.OrdersBean.OrderBean> allOrderList);

        void showCancelOrderSucceed();

        void showRefundSucceed();
    }

    interface IPresenter extends BasePresenter<IView> {
        void initData();

        void onCancelOrderPaymentClick(String orderNo);

        void onCancelOrderDeliveryClick(String orderNo);

        void onConfirmOrderClick(String orderNo);

    }
}
